//
//  JHSFollowDoctorCell.m
//  JHSSweep
//  关注医生
//  Created by Apple on 2017/3/24.
//  Copyright © 2017年 JHDS. All rights reserved.
//

#import "JHSFollowDoctorCell.h"

@interface JHSFollowDoctorCell ()

/**
 头像
 */
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;

/**
 姓名
 */
@property (weak, nonatomic) IBOutlet UILabel *name;

/**
 职位
 */
@property (weak, nonatomic) IBOutlet UILabel *position;

/**
 工作地点
 */
@property (weak, nonatomic) IBOutlet UILabel *workPlace;

/**
 申请就医
 */
@property (weak, nonatomic) IBOutlet UILabel *add;

/**
 鲜花
 */
@property (weak, nonatomic) IBOutlet UILabel *flowers;

/**
 锦旗
 */
@property (weak, nonatomic) IBOutlet UILabel *banner;

@end
@implementation JHSFollowDoctorCell

-(void)setDocModel:(JHSFollowDoctorModel *)docModel{

    self.banner.text = docModel.banner;
    self.flowers.text = docModel.flower;
//    self.add.text = docModel.operation_count;
    self.name.text = docModel.doctor_name;
    self.position.text = docModel.doctor_title_name;
    self.workPlace.text = docModel.hospital_name;
    
    NSURL *url = [NSURL URLWithString:docModel.doctor_portrait];
    [self.iconImageView sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"doctor_defaultphoto_male"]];
}





@end
